home *** CD-ROM | disk | FTP | other *** search
/ Gekkan Dennou Club 145 / Gekkan Dennou Club - 2000.6 Vol. 145 (Japan).7z / Gekkan Dennou Club - 2000.6 Vol. 145 (Japan) (Track 1).bin / tools / sharp / xc2102i.lzh / XC2102.XDF / INCLUDE / TIME.H < prev    next >
Text File  |  1992-03-03  |  1KB  |  64 lines

  1. /*
  2.  * time.h X68k XC Compiler v2.10 Copyright 1990,91,92 SHARP/Hudson
  3.  */
  4. #ifndef    __TIME_H
  5. #define    __TIME_H
  6.  
  7. #include    <stddef.h>
  8.  
  9. #ifdef    FORWORD
  10. #define    __PROTO_TYPE
  11. #endif
  12. #ifdef    __STDC__
  13. #define    __PROTO_TYPE
  14. #endif
  15.  
  16. struct    tm    {
  17.     int    tm_sec;
  18.     int    tm_min;
  19.     int    tm_hour;
  20.     int    tm_mday;
  21.     int    tm_mon;
  22.     int    tm_year;
  23.     int    tm_wday;
  24.     int    tm_yday;
  25.     int    tm_isdst;
  26. };
  27.  
  28. extern    time_t    timezone;
  29. extern    int    daylight;
  30. extern    char    *tzname[2];
  31. extern    char    tzstn[];
  32. extern    char    tzdtn[];
  33.  
  34. #ifdef    __PROTO_TYPE
  35.  
  36. void    tzset(void);
  37. time_t    time(time_t *);
  38. char    *asctime(const struct tm *);
  39. char    *ctime(time_t *);
  40. struct tm    *gmtime(const time_t *);
  41. struct tm    *localtime(const time_t *);
  42. clock_t    clock(void);
  43. double    difftime(time_t, time_t);
  44. time_t    mktime(struct tm *);
  45. size_t    strftime(char *, size_t, const char *, const struct tm *);
  46.  
  47. #undef    __PROTO_TYPE
  48. #else
  49.  
  50. char    *asctime();
  51. char    *ctime();
  52. struct tm    *gmtime();
  53. struct tm    *localtime();
  54. void    tzset();
  55. double    difftime();
  56. time_t    time();
  57. clock_t    clock();
  58. time_t    mktime();
  59. size_t    strftime();
  60.  
  61. #endif
  62.  
  63. #endif
  64.